package com.rongc.client.freight.business.waybill.request.api;


import com.android.volley.Response.ErrorListener;
import com.android.volley.Response.Listener;
import com.rongc.client.core.network.api.AbsRequest;
import com.rongc.client.core.network.params.BaseParams;
import com.rongc.client.freight.ApiUrl;

import org.json.JSONObject;


/*
*  车主接单待确认
* */

public class WaybillConfirmedApi extends AbsRequest<WaybillConfirmedApi.WaybillStatusParams, JSONObject> {

    public WaybillConfirmedApi(WaybillStatusParams feedbackParams, Listener<JSONObject> listener, ErrorListener errorListener) {
        super(Method.POST, ApiUrl.getTrucksConfirmedUrl(), feedbackParams, listener, errorListener, JSONObject.class);
    }

    public static class WaybillStatusParams extends BaseParams {

        public WaybillStatusParams(String id) {
            put("id",id); // 运单id
        }
    }


}
